import pandas as pd

df = pd.read_csv('data.csv')
it = iter(df)
print(next(it), end=' ')
print(next(it), end=' ')
print(next(it), end=' ')

print('\n')

it = iter(df.T.items())
print(next(it))
print(next(it))
print(next(it))

print('\n')

it = iter(df.T.values)
print(next(it), end=' ')
print(next(it), end=' ')
print(next(it), end=' ')